-
Notifications
You must be signed in to change notification settings - Fork 6.6k
add samples for using a regional endpoint with SCC v2 API #12739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Here is the summary of changes. You are about to add 1 region tag.
This comment is generated by snippet-bot.
|
@onagbonoga it feels like this is pretty duplicative of https://github.com/GoogleCloudPlatform/python-docs-samples/blob/main/securitycenter/snippets_v2/snippets_findings_v2.py bar the sending options which seems like it could be an addition to the existing snippet. Any particular reason to need both? |
Thank you. I have added the samples to snippets_findings_v2.py |
…ance notices) (#13072) * chore(compute): migrate regions step 1 - add regions to metadata/main.py * chore(compute): remove whitespace in metadata/vm_identity.py * chore(compute): fix code style to comply with PEP-8 and code-review-assist
…rch_sample.py (#13005) * chore(job): rename tags at jobs/v3/api_client/location_search_sample.py * chore(job): remove region tag at jobs/v3/api_client/location_search_sample.py
these samples were moved temporarily to the API repo and then moved back and the README didn't get updated.
these samples were moved to the API directory and then moved back. the readme is incorrect and points to an archived repo
these samples moved to a different repo and then migrated back under the top level directory of videointelligence. The other directories should probably be examined and merged over to videointelligence as well (and potentially de-duplicated)
…n.py (#13079) * chore(gae): add requirements-test.txt and requirements-test.txt to pass nox tests * chore(gae): add regions to ndb/overview/main.py
* chore(gae): delete regions from migration/ndb/overview/main.py * chore(gae): add support for Python 3 to requirements-test.txt * chore(gae): fix whitespace in templates/index.html * docs(gae): update README.md to a current Python 3 sample
…metadata/main.py (#13083) * chore(compute): migrate regions step 3 - delete old region tags from metadata/main.py * chore(compute): fix wrong deletion in previous commit
* chore(gae): add support for Python 3 to requirements-test.txt * chore(gae): remove region tags from migration/taskqueue/pull-counter/main.py * chore(gae): add requirements-test.txt and requirements-test.txt * chore(gae): remove region tags from taskqueue/counter/worker.py * chore(gae): add requirements-test.txt and requirements-test.txt * chore(gae): remove region tags from taskqueue/pull-counter/main.py
* docs(generative_ai): Add Vertex AI Express Mode Sample - https://cloud.google.com/vertex-ai/generative-ai/docs/start/express-mode/overview --------- Co-authored-by: Sampath Kumar <sampathm@google.com> Co-authored-by: Maciej Strzelczyk <strzelczyk@google.com>
* chore(deps): update dependency pyarrow to v19 * Update pyarrow dependency limits * Update pandas-gbq to latest (python 3.8 supported) * Update Python 3.13 wheel'd pandas * update grpcio to py3.13 supported version --------- Co-authored-by: Katie McLaughlin <katie@glasnt.com>
Description
The SCC API can be accessed via Regional Endpoints to meet customer data residency requirements. This sample shows how to override the endpoint for an API client. See https://cloud.google.com/security-command-center/docs/data-residency-support.md#regional-urls for more information on data residency
Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.
Checklist
nox -s py-3.9
(see Test Environment Setup)nox -s lint
(see Test Environment Setup)